package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialParticipationRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialParticipationPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialParticipationDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialParticipationDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialParticipationDomainImpl extends BaseDomainImpl<ContractInitialParticipationDto, ContractInitialParticipationPo> implements ContractInitialParticipationDomain {

    @Resource
    private ContractInitialParticipationRepository contractInitialParticipationRepository;

    @Override
    public BaseRepository<ContractInitialParticipationPo> getMapper() {
        return contractInitialParticipationRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialParticipationPo>> getRepositoryClass() {
        return ContractInitialParticipationRepository.class;
    }

}
